function [] = data1d(node)
    oldnode = node;
    efield = ['Ex', 'Ey', 'Ez'];
    bfield = ['Bx', 'By', 'Bz'];
    jfield = ['Jx', 'Jy', 'Jz'];
    if(~isempty(strfind(efield, node)))
        node = ['Electric_Field.', node];
    end
    if(~isempty(strfind(bfield, node)))
        node = ['Magnetic_Field.', node];
    end
    if(~isempty(strfind(jfield, node)))
        node = ['Current.', node];
    end
    node
    filename = dir('*.sdf');
    total = size(filename);
    data = GetDataSDF('0000.sdf');
    time = data.time;
    val = eval(['data.', node, '.data']);
    for i = 2:total
        data = GetDataSDF(filename(i).name);
        time = [time; data.time];
        val = [val, eval(['data.', node, '.data'])];
    end
    time = time / 3.33e-15;
    sizes = size(data.Grid.Grid.x);
    x = data.Grid.Grid.x(2:sizes(1), :);
    size(x)
    
    save oldnode val
    save 'time' time
    save 'gridx' x
    gcf = figure();
    set(gcf, 'visible', 'off')
    [tt, xx] = meshgrid(x, time);
    contour(tt, xx, val, 40);
    %imagesc(time, x, val);colorbar();
    title(oldnode);
    xlabel('time in laser period');
    ylabel('x');
    saveas(gcf, oldnode, 'jpg');
    delete(gcf);
end
    
